package com.xm.shop.pojo.qo;

/**
 * @author ludi
 * @date:2020/9/2 22:24
 * @description:精确查询参数类
 */
public class AccurateSearchQO {
    private String keyWords;
    private Integer minPrice;
    private Integer maxPrice;
    private Integer star;

    public AccurateSearchQO() {
    }

    public AccurateSearchQO(String keyWords, Integer minPrice, Integer maxPrice, Integer star) {
        this.keyWords = keyWords;
        this.minPrice = minPrice;
        this.maxPrice = maxPrice;
        this.star = star;
    }

    public String getKeyWords() {
        return keyWords;
    }

    public void setKeyWords(String keyWords) {
        this.keyWords = keyWords;
    }

    public Integer getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(Integer minPrice) {
        this.minPrice = minPrice;
    }

    public Integer getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(Integer maxPrice) {
        this.maxPrice = maxPrice;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    @Override
    public String toString() {
        return "AccurateSearchQO{" +
                "keyWords='" + keyWords + '\'' +
                ", minPrice=" + minPrice +
                ", maxPrice=" + maxPrice +
                ", star=" + star +
                '}';
    }
}
